package chat.client;

public class StringUtils
{

   public static String getFormattedString(String action,String userName){
       return "action="+action+";username=" + userName;
   }
   
   public static String getFormattedString(String action,String fromUserName,String toUserName,String msg){
       return "action="+action+";from=" + fromUserName+";recipient="+toUserName+";msg="+msg;
   }

  
}
